function omega = costcomplow(sbar,stilde,xlow,xup,p)

r = laborassignment(sbar,stilde,xlow,xup,p);

omega = r.wbottom(end)*exp(logcapprod(xlow,p))/exp(loglaborprod(stilde,xlow,p));

end